<template>
    <div class="its-subsidiaries">
    <div class="items">
      <div class="item" v-for="(item, index) in hzhb" :key="index">
        <div class="item-left clearfix">
          <div class="img fl">
            <img src="../assets/images/旗下企业-头像.png" alt="" />
          </div>
          <div class="item-txt fl">
            <div class="item-name">
              {{ item.creator }}
            </div>
            <div class="item-time">
              {{ item.company }}
            </div>
            <div class="item-legal">
              成立时间&nbsp;&nbsp;{{ item.createTime }}
            </div>
          </div>
        </div>
        <div class="item-right">
          <img src="../assets/images/列表箭头.png" alt="" />
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
    props:["hzhb"],
    data () {
        return {

 
        }
    }
}
</script>
 
<style lang = "less" scoped>
    .its-subsidiaries {
  width: 100%;
  background-color: #fff;
  .items {
    padding: 0 12px;
    .item {
      padding: 15px 0;
      display: flex;
      justify-content: space-between;
      border-bottom: 1px solid #e8e8e8;
      box-sizing: border-box;
      .item-left {
        width: 90%;
        display: flex;
        justify-content: space-around;
        .img {
          width: 60px;
          img {
            display: block;
            width: 100%;
          }
        }
        .item-txt {
          margin-left: 10px;
          color: #999999;
          width: 70%;
          .item-name {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            color: #333333;
          }
          .item-time {
            line-height: 30px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
          }
        }
      }
      .item-right {
        display: flex;
        align-items: center;
        width: 10px;
        img {
          width: 100%;
        }
      }
      &:last-child .item-txt {
        margin-left: 20px;
      }
    }   
  }
}
</style>